]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Add a missed translation
authorJasper St. Pierre <jstpierre@mecheye.net>
Fri, 30 Sep 2011 21:29:46 +0000 (17:29 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 4 Oct 2011 20:47:53 +0000 (16:47 -0400)
The word "tray" should be translated to other languages.

https://bugzilla.gnome.org/show_bug.cgi?id=660600

js/ui/keyboard.js

index 2eb355fb0d0ec98cf8af1f6b30965d0ad9f56f13..13677671b3b173e2fdb21f4a4fd2d2eb27ffb416 100644 (file)
@@ -305,7 +305,8 @@ Keyboard.prototype = {
     },
 
     _getTrayIcon: function () {
-        let trayButton = new St.Button ({ label: "tray", style_class: 'keyboard-key' });
+        let trayButton = new St.Button ({ label: _("tray"),
+                                          style_class: 'keyboard-key' });
         trayButton.key_width = 1;
         trayButton.connect('button-press-event', Lang.bind(this, function () {
             Main.messageTray.toggle();